package com.xtaller.lazy.parameter;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version V1.0
 * @author: Taller
 * @date: 2019-04-16
 * @Description: 部门数据对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "部门数据对象")
public class DocDepartment {
    @ApiModelProperty(value = "部门简称") 
    @TableField(value = "shortName")
    private String shortName;

    @ApiModelProperty(value = "部门全称") 
    @TableField(value = "fullName")
    private String fullName;

    @ApiModelProperty(value = "上级部门Id") 
    @TableField(value = "parentId")
    private Long parentId;

    @ApiModelProperty(value = "备注")
    @TableField(value = "comments")
    private String comments;

    @ApiModelProperty(value = "分类 预留") 
    @TableField(value = "type")
    private String type;

    @ApiModelProperty(value = "排序") 
    @TableField(value = "orderNumber")
    private int orderNumber;

}
